<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>

<head>
	 <!-- 这里引入导航信息header.tpl -->
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>
		新增销售渠道
	</title>
	<style>
		.page-content-sell {
		    background-clip: padding-box;
		    background-color: #ffffff;
		    position: relative;
		    padding: 0px 30px 20px 30px;
		    height: 100%;
	    }
		/* .form-group{float:left} */
		.txt-fl{width:80px;float:left;}
		.txt-fl-l{width:110px;float:left;}
		.m-r-30{margin-right:40px}
	</style>
	<script type="text/javascript">
		var prdSellChannelPath = '<%=context%>business/prdSellChannel';
	</script>
</head>
<body class="sub-page">
	<form name="prdSellChannelForm"  id="prdSellChannelForm" action="" method="post"  class="form-horizontal">
	 	<fieldset>
		<input type="hidden" name="subPrdCode" id="subPrdCode" value="${searchParam.sp.subPrdCode}">
	 		<div class="page-content-sell">
			    <div class="page-body">
				    <div class="col-md-12">
						<div>
							<label class="txt-fl-l control-label">募集起始日<span class="text-danger">*</span></label>
							<div class="col-sm-4 m-r-30">
								<input type="text" class="form-control" placeholder="日期" id="expRaiseBegDate" name="expRaiseBegDate"/>
							</div>
						</div>
						<div class="form-group">
							<label class="txt-fl control-label">募集结束日<span class="text-danger">*</span></label>
							<div class="col-sm-4">
								<input type="text" class="form-control" placeholder="日期" id="expRaiseEndDate" name="expRaiseEndDate"/>
							</div>
						</div>
					</div>
					
					<div class="col-md-12">
						<div>
							<label class="txt-fl-l control-label">是否采用电子合同<span class="text-danger">*</span></label>
							<div class="col-sm-4 m-r-30" style="line-height:30px">
							  	<label><input type="radio" name="isEContract" value="1"/> 是</label>
							  	<label><input type="radio" name="isEContract" value="0"/> 否</label>
							  	<label id="isEContract-error" class="error" for="isEContract" ></label>
							</div>
						</div>	
						<div class="form-group">
							<div>
								<label class="txt-fl control-label">版本号<span class="text-danger" id="versionNumTxt"></span></label>
								<div class="col-sm-4">
									<input type="text" class="form-control" placeholder="版本号" id="versionNum" name="versionNum"/>
								</div>
							</div>	
						</div>
					</div>
					<div class="col-md-12">
						<div>
							<label class="txt-fl control-label">销售机构<span class="text-danger">*</span></label>
							<div class="col-sm-4">
								<select name="instId" class="form-control use-select2" placeholder="销售机构" id="instId">
									<option></option>
								</select>
								<label id="instId-error" class="error" for="instId" ></label>
							</div>
						</div>	
						<div class="form-group">
							<div>
								<label class="txt-fl control-label"><span class="text-danger" ></span></label>
								<div class="col-sm-4">
								</div>
							</div>	
						</div>
					</div>
				</div> 					
				<div class="page-footer" >
					<button type="button" id="submitBtn" class="btn btn-primary btn-save btn-loading btn-w-xs" data-loading-text="<i class='ico-loading'></i>" onclick="save();">提交</button>
					<button type="button" id="cancelBtn" class="btn btn-link btn-w-xs" onclick="closeLayer();">取消</button>
				</div>
			</div>
		</fieldset>
	</form>
	<script type="text/javascript" src="<%=context%>resources/modules/business/prdSellChannel/prdSellChannelAdd.js?r=<%=Math.random()%>"></script>
	</body>
</html>